Making paragraph style "caption" for all figures

Hello I am new to DOORS and I have a problem while i am exporting to Word.
I want to make all the sentences, which inludes the word "figure", Caption.

Is there any dxl , what should i do?

Regards, Busra
busrapasali2 - Thu Jun 07 06:34:54 EDT 2012

Re: Making paragraph style "caption" for all figures
SystemAdmin - Thu Jun 07 06:56:50 EDT 2012

Create an object attribute with the name "Paragraph Style", Type Text.

Create a filter, something like "Object Text contains Caption".

For all filtered Objects set the attribute "Paragraph Style" to "<Object Text:Caption>"

When exporting to Word, make sure that "Advanced -> Use 'Paragraph Style' Attribute" is checked.

HTH
Mike

Re: Making paragraph style "caption" for all figures
SystemAdmin - Thu Jun 07 07:12:41 EDT 2012

SystemAdmin - Thu Jun 07 06:56:50 EDT 2012
Create an object attribute with the name "Paragraph Style", Type Text.

Create a filter, something like "Object Text contains Caption".

For all filtered Objects set the attribute "Paragraph Style" to "<Object Text:Caption>"

When exporting to Word, make sure that "Advanced -> Use 'Paragraph Style' Attribute" is checked.

HTH
Mike

> Create a filter, something like "Object Text contains Caption".

Sorry, of course I meant "Object Text contains 'Figure'"

Re: Making paragraph style "caption" for all figures
busrapasali2 - Thu Jun 07 08:34:58 EDT 2012

SystemAdmin - Thu Jun 07 06:56:50 EDT 2012
Create an object attribute with the name "Paragraph Style", Type Text.

Create a filter, something like "Object Text contains Caption".

For all filtered Objects set the attribute "Paragraph Style" to "<Object Text:Caption>"

When exporting to Word, make sure that "Advanced -> Use 'Paragraph Style' Attribute" is checked.

HTH
Mike

thanx i have exported document to word .
but there is a problem:
captions seem as "caption" format, but when i have updated list of figures they were not in list of figures?

Re: Making paragraph style "caption" for all figures
SystemAdmin - Thu Jun 07 12:34:48 EDT 2012

busrapasali2 - Thu Jun 07 08:34:58 EDT 2012
thanx i have exported document to word .
but there is a problem:
captions seem as "caption" format, but when i have updated list of figures they were not in list of figures?

well, this depends on the version of Word you are using.

One solution is: http://www.trickyways.com/2010/04/how-to-create-table-of-figures-in-word-2007-2010/

Re: Making paragraph style "caption" for all figures
SystemAdmin - Thu Jun 07 23:32:26 EDT 2012

busrapasali2 - Thu Jun 07 08:34:58 EDT 2012
thanx i have exported document to word .
but there is a problem:
captions seem as "caption" format, but when i have updated list of figures they were not in list of figures?

I think your problem is to do with the way in which the List of Figures (or Table of Figures) has been defined in MS Word.

The List of Figures is an embedded field that will include switches that define how it will detect and display figure captions within the body of the document. I suspect that your List of Figures is defined using default switches where it's looking for paragraphs that have an embedded "SEQ" numbering field within them.

Because you have exported from DOORS to MSWord, the caption text in DOORS will not have one of these embedded "SEQ" numbering fields. So you need to redefine the definition for the List of Figures so that it is looking for paragraphs that use a specific style - in your case it is the "Caption" style.

Click somewhere in amongst the List of Figures, RH mouse click, select the "Toggle Field Codes" option in the RH menu. This reveals the underlying definition of the List of Figures embedded field. You may see something like the following.

{TOC \h \z \c "Figure"}

What you need to see is something like this

{TOC \h \z \t "Caption" \c}

Rather than trying to manually modify the field codes, its perhaps best if you delete and recreate the List of Figures. In MSWord 2007 (possibly very similar in MSWord 2010), you need to choose the "References" ribbon, you should see an icon named "Insert Table of Figures", select this, select the Options button, tick the check-box next to "Style" and then select the style name you want to use for building up the List of Figures.

Just remember that the List of Figures will now populate itself with information from all paragraphs that have used the selected style name. So if you have any paragraphs that contain captions for Tables and these paragraphs use the same style name as that used for Figures, then your List of Figures will include the captions for the Tables as well. So you may need to rename the current "Caption" style in MSWord and call it "Caption-Figures" and then create a copy and name that one "Caption-Tables". Then use these style names in the "Paragraph Style" attribute in DOORS.

 

 

 


Paul Miller
Melbourne, Australia

 

 

Re: Making paragraph style "caption" for all figures
busrapasali2 - Fri Jun 08 09:56:39 EDT 2012

thank you Paul and Mike both of them was worked for me .